package com.salary.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 绩效评价表
 */
@Table(name = "jixiao")
public class Jixiao implements Serializable {

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private int id;

    /**
     * 员工ID
     */
    @TableField(value = "employee_id")
    private Integer employeeId;

    /**
     * 专业知识得分
     */
    private BigDecimal zyzs;

    /**
     * 技术能力得分
     */
    private BigDecimal jsnl;

    /**
     * 领导力得分
     */
    private BigDecimal ldl;

    /**
     * 创新能力得分
     */
    private BigDecimal cjnl;

    /**
     * 分析能力得分
     */
    private BigDecimal fxnl;

    /**
     * 最终评分
     */
    private BigDecimal zzpf;

    /**
     * 绩效评价月份
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date mdate;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date ctime;
    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date utime;

    public BigDecimal getZzpf() {
        return zzpf;
    }

    public void setZzpf(BigDecimal zzpf) {
        this.zzpf = zzpf;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    public BigDecimal getZyzs() {
        return zyzs;
    }

    public void setZyzs(BigDecimal zyzs) {
        this.zyzs = zyzs;
    }

    public BigDecimal getJsnl() {
        return jsnl;
    }

    public void setJsnl(BigDecimal jsnl) {
        this.jsnl = jsnl;
    }

    public BigDecimal getLdl() {
        return ldl;
    }

    public void setLdl(BigDecimal ldl) {
        this.ldl = ldl;
    }

    public BigDecimal getCjnl() {
        return cjnl;
    }

    public void setCjnl(BigDecimal cjnl) {
        this.cjnl = cjnl;
    }

    public BigDecimal getFxnl() {
        return fxnl;
    }

    public void setFxnl(BigDecimal fxnl) {
        this.fxnl = fxnl;
    }

    public Date getMdate() {
        return mdate;
    }

    public void setMdate(Date mdate) {
        this.mdate = mdate;
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

    public Date getUtime() {
        return utime;
    }

    public void setUtime(Date utime) {
        this.utime = utime;
    }
}
